/* reset */
    *,
    *:before,
    *:after {
        -webkit-tap-highlight-color: rgba(0,0,0,0);
        -webkit-tap-highlight-color: transparent;
        -webkit-box-sizing: border-box;
        box-sizing: border-box;
    }

    html { -webkit-text-size-adjust: 100%; background: #eff4f8; }

    body, ul, ol, li, dl, dt, dd, p, h1, h2, h3, h4, h5, h6, form, input { margin: 0; padding: 0;}
    input, select, textarea { outline: none; }
    textarea { resize: none; font-family: "microsoft yahei";}
    ul, ol { list-style: none;}
    i, em { font-style: normal;}
    a { text-decoration: none;color: #459ae9;cursor: pointer;}
    a:active, a:visited, a:focus {outline: none;}
    // a:hover { text-decoration: underline;}
    img { border: none;display:block;}
    table { border-spacing: 0; table-layout: fixed;}

    body { background-color: #eff4f8 !important; height: 100%; position: relative; font: 14px/1.5 "microsoft yahei", BlinkMacSystemFont,  "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; word-wrap: break-word;}

    input::-ms-clear{display: none;}
    input::-ms-reveal{display: none;}

    // @font-face {
    //     font-family: 'PingFangSC-Regular';
    //     src: url('../font/PingFang.ttf') format('truetype');
    // }

/* 重置elementUI样式 */
.main-container {
    .el-button--primary {
        background: $themeColor;
        border-color: $themeColor;
        &:hover {
            background: $themeColor;
            border-color: $themeColor;
            opacity: .8;
        }
        &:active, &:focus {
            background: $themeColor;
            border-color: $themeColor;
        }
    }
    .el-table {
        .el-table__header {
            thead {
                tr {
                    th {
                        border-right: none;
                        background: #f5f7fa;
                        color: #333;
                    }
                }
            }
        }
        .el-table__body {
            tbody {
                tr {
                    td {
                        border-right: none;
                    }
                }
            }
        }
    }
    .el-pagination {
        margin-top: 20px;
        float: right;
        &.is-background {
            .el-pager {
                li.active {
                    background: $themeColor !important;
                }
                li:hover {
                    color: $themeColor;
                }
                li.active:hover {
                    color: #fff;
                }
            }
        }
    }
    .el-form-item__label {
        padding: 0 20px 0 0;
    }
    .el-form-item__content {
        .el-input {
            input {
                // width: 400px;
                // border-radius: 2px;
                &::-webkit-input-placeholder {
                    color: #c0c7cc;
                }
            }
        }
    }
    .common-form {
        .el-form-item__content {
            .el-input {
                input {
                    width: 400px;
                }
            }
            .el-select {
                .el-input {
                    width: 100%;
                }
            }
            .el-date-editor.el-input, .el-date-editor.el-input__inner {
                width: 400px;
            }
            .el-row {
                width: 400px;
                .el-input {
                    input {
                        width: 100%;
                    }
                }
            }
        }
    }
    // .el-form-item--mini.el-form-item, .el-form-item--small.el-form-item {
    //     margin-bottom: 32px;
    // }
    .el-checkbox__input.is-checked+.el-checkbox__label {
        color: #1e1e1e;
    }
    .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
        background-color: $themeColor;
        border-color: $themeColor;
    }
    .el-checkbox__inner:hover {
        border-color: $themeColor;
    }
    .el-input.is-active .el-input__inner, .el-input__inner:focus {
        border-color: $themeColor;
    }
    .el-radio__input.is-checked+.el-radio__label {
        color: $themeColor;
    }
    .el-radio__input.is-checked .el-radio__inner {
        border-color: $themeColor;
        background: $themeColor;
    }
    .el-radio__inner:hover {
        border-color: $themeColor;
    }
    .el-select .el-input {
        width: 100px;
    }
    .el-date-editor .el-range-separator {
        box-sizing: content-box;
    }
    .el-date-editor .el-range__close-icon {
        width: 12px;
    }
    .el-input-group__prepend {
        background-color: #fff;
        width: 104px;
        padding: 0;
    }
    .el-date-editor--daterange.el-input, .el-date-editor--daterange.el-input__inner, .el-date-editor--timerange.el-input, .el-date-editor--timerange.el-input__inner {
        width: 290px;
    }
    .el-select .el-input.is-focus .el-input__inner {
        border-color: $themeColor;
    }
    .el-range-editor.is-active, .el-range-editor.is-active:hover {
        border-color: $themeColor;
    }
    .el-table .ascending .sort-caret.ascending {
        border-bottom-color: $themeColor;
    }
    .el-table .descending .sort-caret.descending {
        border-top-color: $themeColor;
    }
    .el-table .cell, .el-table th div, .el-table--border td:first-child .cell, .el-table--border th:first-child .cell {
        padding-left: 30px;
    }
    // el-dialog样式
    .el-dialog {
        width: 520px;
        border-radius: 4px;
        overflow: hidden;
    }
    .el-dialog__header {
        padding: 10px 0;
        padding-left: 20px;
        border-bottom: 1px solid #ecf0f3;
        background: #1e1e1e;
        .el-dialog__title {
            font-size: 14px;
            color: #f1f1f1;
        }
    }
    .el-dialog__headerbtn {
        width: 24px;
        height: 24px;
        top: 10px;
    }
    .el-dialog__body {
        padding: 30px;
        .el-input__inner {
            border-radius: 2px;
        }
        .el-form-item:last-child {
            margin-bottom: 0;
        }
    }
    .el-dialog__footer {
        padding-top: 0;
    }
    .el-form-item__error {
        padding-top: 4px !important;
    }
    // 上传文件样式
    .el-upload-list__item.is-success .el-upload-list__item-status-label {
        display: none;
    }
    .el-upload--picture-card {
        width: 120px;
        height: 120px;
    }
    .el-upload-list--picture-card .el-upload-list__item {
        width: 120px;
        height: 120px;
    }
    .el-icon-box {
        position: relative;
        .el-icon-txt {
            color: #cfd4d9;
            font-weight: 800;
            position: absolute;
            top: 110px;
            bottom: 0;
            left: 0;
            right: 0;
            margin: auto;
        }
    }
    .common-uploader-icon {
        font-size: 28px;
        color: #cfd4d9;
        width: 120px;
        height: 120px;
        line-height: 120px;
        text-align: center;
    }
    .avatar {
        width: 120px;
        height: 120px;
        display: block;
    }
    .ant-tabs-bar {
        .ant-tabs-ink-bar {
            height: 4px;
        }
    }
}
.el-select-dropdown__item.selected {
    color: $themeColor !important;
}
// .el-button--primary {
//     background-color: $themeColor !important;
//     border-color: $themeColor !important;
// }
.el-tooltip__popper.is-light {
    max-width: 80%;
    border: 1px solid #ccc !important;
}
.el-upload-list.el-upload-list--text {
    width: 80%;
}

// 富文本编辑器样式
.ve-design {
    height: 500px;
}
.ve-toolbar {
    line-height: 1;
}

.main {
    .quill-editor.editer {
        max-width: 80%;
    }
    .ql-editor {
        height: 400px;
    }
    .ql-toolbar.ql-snow {
        line-height: 1;
    }
}
.el-message-box__btns {
    .el-button.el-button--default.el-button--small:first-child:focus, .el-button.el-button--default.el-button--small:first-child:hover {
        color: #1e1e1e !important;
        border-color: #c0c4cc !important;
        background-color: transparent !important;
    }
}
.dialog-footer {
    .el-button.el-button--default:focus, .el-button.el-button--default:hover {
        color: #1e1e1e !important;
        border-color: #c0c4cc !important;
        background-color: transparent !important;
    }
}
.el-button--primary:hover {
    opacity: .8;
}
.el-icon-close.btn {
    cursor: pointer;
}
.el-radio-button__inner:hover {
    color: $themeColor !important;
}
.el-radio-button__orig-radio:checked+.el-radio-button__inner {
    color: #fff !important;
    background: $themeColor !important;
    border-color: $themeColor !important;
    box-shadow: -1px 0 0 0 $themeColor !important;
}
.el-message-box__headerbtn:focus .el-message-box__close, .el-message-box__headerbtn:hover .el-message-box__close {
    color: #1e1e1e !important;
}
.el-dialog__headerbtn:focus .el-dialog__close, .el-dialog__headerbtn:hover .el-dialog__close {
    color: #f1f1f1 !important;
}
.el-date-table td.today span {
    color: $themeColor !important;
}
.el-date-table td.available:hover {
    color: $themeColor !important;
}
.el-date-table td.end-date span, .el-date-table td.start-date span {
    background-color: $themeColor !important;
}
.el-icon-box:before {
    display: none;
}

.edui-editor div {
    line-height: 1;
}
.el-icon-circle-close {
    color: #fff;
}
.el-image-viewer__wrapper {
    height: 100vh;
    top: auto !important;
}

.el-table {
    font-size: 12px !important;
    td, th {
        padding: 6px 0 !important;
    }
    .el-table__fixed-right {
        right: 1px;
    }
}
.el-form-item--mini .el-form-item__error {
    padding-top: 3px !important;
}
.el-popconfirm .el-popconfirm__main {
    margin-bottom: 10px;
}